import { service } from '@/service'
// const baseUrl='/hbsys-system/min/fei'
const baseUrl='/hbsys-system/organization/admin'

//民非

//根据页面获取民非信息,传社会编码
export const getMFInfoByPageCode = (data?: any) => {
  return service.request({
    url: `${baseUrl}/query/singleton`,
    method: 'POST',
    data
  })
}

//根据页面获取民非信息,传ID
export const getMFInfoByPage = (data?: any) => {
  return service.request({
    url: `${baseUrl}/query/singleton`,
    method: 'POST',
    data
  })
}

//保存批注
export const saveTips = (data?: any) => {
  return service.request({
    url: `${baseUrl}/annotations`,
    method: 'POST',
    data
  })
}

//提交校对
export const saveJd = (data?: any) => {
  return service.request({
    url: `${baseUrl}/proofread`,
    method: 'POST',
    data
  })
}

// export const sorgList = (data?: any) => {
//   return service.request({
//     url: 'hbsys-system/sorg/list',
//     method: 'POST',
//     data
//   })
// }

export default { getMFInfoByPage ,getMFInfoByPageCode,saveTips,saveJd}
  
